import React from 'react';
// import "./index.css";


export default class extends React.Component{
    constructor(props){
        super();
        this.state={
            content:props.content,
            color:props.color
        }
    }
    render()
    {
        return(
            <div style={{backgroundColor:this.state.color}}>
                {this.state.content}
            </div>
        );
    }
}